package com.linq.cool.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.linq.cool.system.domain.SysNotice;
import com.linq.cool.system.dto.SysNoticeQueryDTO;
import com.linq.cool.system.mapper.SysNoticeMapper;
import com.linq.cool.system.service.SysNoticeService;
import com.linq.cool.system.vo.SysNoticeVO;
import org.springframework.stereotype.Service;

/**
 * @Author: yqlin
 * @Date: 2020/12/29 19:43
 * @Description:
 * @Version: 1.0.0
 */
@Service
public class SysNoticeServiceImpl extends ServiceImpl<SysNoticeMapper, SysNotice> implements SysNoticeService {
    @Override
    public IPage<SysNoticeVO> listByPage(IPage<SysNoticeVO> page, SysNoticeQueryDTO dto) {
        return baseMapper.listByPage(page, dto);
    }
}
